package com.ustb.springboot.controller.dto;

import com.ustb.springboot.entity.OptionEntity;
import lombok.Data;
import lombok.experimental.Accessors;

import java.util.List;

/**
 * 多选题+选项
 *
 * @author pyn 2022/5/18
 */
@Accessors(chain = true)
@Data
public class CheckboxOptionDto {
    private String id;
    // 用户id
    private Integer userId;
    //问卷id
    private String formId;
    //序号
    private Integer orderId;
    //是否必填
    private Boolean must;
    //题目名称
    private String questionName;
    //问题类型
    private Integer questionType;
    // 问题描述
    private String questionInfo;
    //选项最小值
    private Integer optionMin;
    //选项最大值
    private Integer optionMax;
    //选项
    private List<OptionEntity> options;
}
